package com.zx.map.dao.mapper;

import com.zx.map.dao.model.ActiveRedpacket;
import com.zx.map.dao.model.ActiveRedpacketExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface ActiveRedpacketMapper {
    long countByExample(ActiveRedpacketExample example);

    int deleteByExample(ActiveRedpacketExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(ActiveRedpacket record);

    int insertSelective(ActiveRedpacket record);

    List<ActiveRedpacket> selectByExample(ActiveRedpacketExample example);

    ActiveRedpacket selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") ActiveRedpacket record, @Param("example") ActiveRedpacketExample example);

    int updateByExample(@Param("record") ActiveRedpacket record, @Param("example") ActiveRedpacketExample example);

    int updateByPrimaryKeySelective(ActiveRedpacket record);

    int updateByPrimaryKey(ActiveRedpacket record);
}